/**
 * @file   main.cpp
 * @author xingyifan <xingyifan@xingyifan-VirtualBox>
 * @date   Fri Dec 11 20:07:39 2020
 * 
 * @brief  main
 * 
 * 
 */

#include "Hash.h"

int main(int argc, char * argv[]) {
    char s[length];
    Hash list;
    
    for (int i=0;std::cin >> s;i++) {
	list.Insert(s);
    }

    std::cout << "The 20 words: " << std::endl;
    list.max();
    std::cout << "Max collision time: " << list.max_collision() << std::endl;
    //list.print();

    return 0;
}


